<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>orderstatus - write</title>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<script type="text/javascript">
	<!--
		function goList() {
			var f = document.orderstatusCriteriaForm;
			f.submit();
		}
	//-->
	</script>
</head>
<body>

	<p>
		<a href="/">home</a>
	</p>

	<h1>Orderstatus - write</h1>

	<form:form commandName="orderstatusCriteria"
		id="orderstatusCriteriaForm" name="orderstatusCriteriaForm"
		action="/orderstatus.do" method="get">
		<input type="hidden" name="mode" />
		<form:hidden path="linenum" />
		<form:hidden path="orderid" />
		<form:hidden path="paging.currentPage" />
	</form:form>

	<form:form commandName="orderstatus" name="orderstatusForm"
		action="/orderstatusWrite.do">
		<input type="hidden" name="mode" value="write" />
		<table width="800">
			<colgroup width="800">
				<col width="100" />
				<col width="*" />
			</colgroup>
			<tr>
				<th>orderid</th>
				<td><form:input path="orderid" /> <form:errors path="orderid"
						cssClass="errorMessage" /></td>
			</tr>
			<tr>
				<th>linenum</th>
				<td><form:input path="linenum" /> <form:errors path="linenum"
						cssClass="errorMessage" /></td>
			</tr>
			<tr>
				<th>timestamp</th>
				<td><form:input path="timestamp" /> <form:errors
						path="timestamp" cssClass="errorMessage" /></td>
			</tr>
			<tr>
				<th>status</th>
				<td><form:input path="status" /> <form:errors path="status"
						cssClass="errorMessage" /></td>
			</tr>
		</table>
		<input type="submit" value="write" />
	</form:form>

	<a href="javascript:goList();">list</a>

</body>
</html>
